package com.itheima02;

public class Test {
    public static void main(String[] args) {
        JingLi j=new JingLi("heima001","张三","15000","8000");
        System.out.println(j.getDi()+','+j.getName()+','+j.getWage()+','+j.getJiangJin());
        j.work();
        j.eat();


        ChuShi c=new ChuShi();
        c.setDi("heima002");
        c.setName("李四");
        c.setWage("10000");
        System.out.println(c.getDi()+','+c.getName()+','+c.getWage());
        c.work();
        c.eat();
    }
}
